
import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    user : JSON.parse(window.sessionStorage.getItem('user')),
  },
  getters: {
  },
  mutations: {
    // updatauser(state,val){
    //   console.log(val)
    //    state.user = val
    // }
  },
  actions: {
  },
  modules: {
  }
})
